package org.one.afternoon.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("hospitals")
public class Hospital {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;
    private String orgCode;
    private String version;
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;
}
